import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router'

import axios from 'axios'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import store from './store'
import VueAxios from 'vue-axios'

axios.defaults.headers.post['Content-Type'] = 'application/json'
//axios.defaults.headers.post['Access-Control-Allow-Origin'] = '*';
//axios.defaults.baseURL = 'http://localhost:8080/'


const app = createApp(App)

app.use(ElementPlus)
app.use(store)
app.use(router)
app.use(VueAxios, axios)


app.mount('#app')

